
#ifndef __GUI_H
#define __GUI_H
#include "oled.h"

#define GUI_WIDTH   OLED_Width
#define GUI_HIGH    OLED_High

#define 	SCREEN_PAGE_NUM			   	(8)
#define   SCREEN_PAGEDATA_NUM   	(128)
#define 	SCREEN_COLUMN 					(128)
#define  	SCREEN_ROW 							(64)

#ifndef MIN
#define MIN(a,b) ((a) < (b) ? (a) : (b))
#endif
#ifndef MAX
#define MAX(a,b) ((a) > (b) ? (a) : (b))
#endif

void GUI_Init();
void GUI_LineGif(void);
void GUI_RegGif(void);
void DrawLine(int x1,int y1,int x2,int y2);
void DrawFillCircle( int usX_Center, int usY_Center, int r);
void LineTo(uint8_t x,uint8_t y);





#endif


